package org.activequant.util.messaging;

/**
 * Messaging interface as seen by consumer: provides an ability to send
 * message.<br/>
 * An interface. Defines the following method:
 * <ul>
 * <li>void sendMessage(String subj, String body);</li>
 * </ul>
 * <b>History:</b><br>
 *  - [04.01.2008] Created (Mike Kroutikov)<br>
 *
 *  @author Mike Kroutikov
 */
public interface ISimpleMessagingService {

	/**
	 * Sends text message (with optional subject).
	 * 
	 * @param subj subject
	 * @param body message text (body).
	 */
	void sendMessage(String subj, String body);
}
